weight=float(input("请输入体重(kg)："))
height=float(input("请输入身高(m)："))
BIM=weight/(height*2)
print('你的BMI为：{0:.2f}'.format(BIM))
if BIM<18.5:
        print("过轻")
elif 18.5<=BIM<25:
        print("正常")
elif 25<=BIM<28:
        print("过重")
elif 28<BIM>32:
        print("肥胖")
else:
        print("严重肥胖")

